/**
 * 用户评价信息表
 */
var mongoose = require('mongoose');
var BaseSchema = require('./base_schema');

var evaluationSchema = new BaseSchema({
    accountId: {type: String},                    // 医生账户ID
    questionId: {type: mongoose.Schema.ObjectId}, // 问题ID
    satisfaction: {type: Number},                 // 满意度(0: 不满意; 1: 满意; 2: 非常满意)
    content: {type: String}                       // 评价内容
});
module.exports = mongoose.model('evaluation', evaluationSchema);
